<template xmlns:img="">
  <div class="app-container home">
    <el-row :gutter="20">
        <hr />
    </el-row>
    <el-row :gutter="20">
      <el-col :sm="24" :lg="12" style="padding-left: 20px">
        <h2>Med医联智通在线管理平台</h2>
        <p>
          <div class="block">
            <span class="demonstration"></span>
            <el-carousel trigger="click" height="550px" width="450px">
              <el-carousel-item v-for="item in 4" :key="item.id">
                <img :src="require('@/assets/images/a' + item + '.png')"  height="550px" width="650px" alt="" >
              </el-carousel-item>
            </el-carousel>
          </div>

      </el-col>

      <el-col :sm="24" :lg="12" style="padding-left: 50px">
        <el-row style="height:100px;width:1400px">
        <el-col :span="8">
          <el-calendar v-model="value">
          </el-calendar>
        </el-col>
      </el-row>
      </el-col>
    </el-row>
    <el-divider />
    <el-row :gutter="20">
      <el-col :xs="24" :sm="24" :md="12" :lg="8">
        <el-card class="update-log">
          <div slot="header" class="clearfix">
            <span>系统公告</span>
          </div>
          <div class="body">
            <p>
            </p>
          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export const myComponent = {
  data() {
    return {
      value: new Date()
    }
  }
};
export default {
  name: "Index",
  data() {
    return {
      images:[
        {id:1,url:require('@/assets/images/a1.png')},
        {id:2,url:require('@/assets/images/a2.png')},
        {id:3,url:require('@/assets/images/a3.png')},
        {id:4,url:require('@/assets/images/a4.png')}
      ]
    };
  },

  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    }
  },
}
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }
  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }
  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
  }

  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }

  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }
}
</style>

